<?php

namespace app\api\model\creative;

use app\api\model\BaseModel;

class CreativeText extends BaseModel
{
    protected $table = 'creative_text';
    protected $deleteTime = 'delete_time';
    protected $autoWriteTimestamp = 'datetime';

    public function text()
    {
        return $this->belongsTo("CreativeRecords", 'id','record_id');
    }
}
